| BodyTagSupport Class | |
| public class BodyTagSupport extends TagSupport implements BodyTag | |
Object TagSupport BodyTagSupportInterfaces BodyTag The BodyTag class extends the functionality of the TagSupport class by providing implementation of the methods declared in the BodyTag interface. |
|
| BodyTagSupport() | |
| public BodyTagSupport() | Constructor |
|
Creates a BodyTagSupport object. Sub-classes of BodyTagSupport are required to provide a no-argument constructor that calls this constructor. |
|
| doAfterBody() | |
| public int doAfterBody() throws JspError | Method |
|
doAfterBody is invoked every time after a body is evaluated. It is overridden to contain any actions that are to be performed after an evaluation is completed. |
|
| doEndTag() | |
| public int doEndTag() throws JspException | Method |
|
doEndTag processes the end tag associated with a JSP. This method will be called on all Tag objects. The release method should be called after this method is invoked. |
|
| doInitBody() | |
| public int doInitBody() | Method |
|
doInitBody is overridden to contain actions that are performed before a body evaluation. |
|
| getBodyContent() | |
| public BodyContent getBodyContent() | Method |
|
getBodyContent() returns a reference to the current BodyContent object. |
|
| getPreviousOut() | |
| public JspWriter getPreviousOut() | Method |
|
getPreviousOut returns the surrounding JspWriter object. |
|
| release() | |
| public void release() | Method |
|
release resets the state of the tag. |
|
| setBodyContent() | |
| public void setBodyContent(BodyContent bc) | Method |
|
setBodyContent() specifies a BodyContent object that will be used in conjunction with the evaluation of a tag's body. |
|